﻿<div id="wedget_myfan">
<div class="f_pro">
    @{
        Weibo.Entity.User curUser = Model.CurUser;
        int rowcount = 0;
        var schoolClassID = Model.CurrentSchoolClassID;
        IList<User> schoolClassRecord = Users.GetClassRecent(schoolClassID, 1, 9, "", " order  by MaxCreateDate desc", ref rowcount);
	<div class="title font_14 MIB_linkcr"><a href="/@curUser.ID/fan">最近来过的同学(@rowcount)</a></div>
		<ul class="user_recom">
        @{
            if (schoolClassRecord != null)
            {
                foreach (var user in schoolClassRecord)
                    
            {
				<li>
		<a href="/@user.ID"  ><img uid="@user.ID" namecard="true" uname="@user.NickName" title="@user.NickName"  src="@user.MidAvartar"></a>
		<div class="name"><a href="/@user.ID" uid="@user.ID" namecard="true" uname="@user.NickName" >@user.NickName</a></div>
		</li>
            }
            }
            }
			</ul>
		<div class="txt_right"><a href="/@curUser.ID/fan">更多<em>&gt;&gt;</em></a></div>
        }
        </div></div>
<script type="text/javascript">
    $(function () { App.initNameCard($("#wedget_myfan")); });   
</script>